@import '../t_iconfont.css';

#resource-monitor-graph-container{
    position: relative;
    background: aliceblue;

    .g6-component-toolbar{
        left: auto;
        bottom: auto;
        top: 20px;
        right: 10px;
        width: 30px;
        li {
            width: auto;
        }
        .t-iconfont,
        .iconfont{
            cursor: pointer;
            padding-top: 5px;
            width: auto;
            height: auto;
            font-size: 16px;
            color: #4E84E9;
            &:first-child{
                border:0;
                margin-top:0;
                padding-top:0;
            }
            &::before{display:block;}
            &:hover::before{
                transform: scale(1.2);
                color: #438bff;
            }
        }
    }
    .icon-why{
        margin-top: 5px;
        border-top: 1px solid #e0e0e0;
    }
    .g6-minimap{
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 20;
        background:#fff;
        border: 1px solid #e0e0e0;
    }
    .g6-component-tooltip-reset,
    .g6-component-contextmenu-reset {
        position: relative;
        .box {
            position: relative;
            width: 100px;
            padding: 0;
            // -webkit-box-shadow: inset 0 0 4px 0 rgba(78, 132, 233, 1);
            // box-shadow: inset 0 0 4px 0 rgba(78, 132, 233, 1);
            border: 1px solid rgba(78, 132, 233, 1);
            background-color: #fff;
            border-radius: 4px;
            color: #333;
            text-align: center;
            line-height: 14px;
            cursor: pointer;
            .menu-item {
                margin: 0;
                padding: 5px;
                border-bottom: 1px solid rgba(78, 132, 233, 1);
                &:hover {
                    background-color: rgba(78, 132, 233, 1);
                    color: #fff;
                }
                &:last-child {
                    border-bottom: 0;
                }
            }
            &.edit {
                height: auto;
            }
            &:before{
                content: "";
                position: absolute;
                left: -11px;
                top: calc(50% - 6px);
                border-top:6px solid transparent;
                border-bottom: 6px solid transparent;
                border-right: 10px solid rgba(78, 132, 233, 1);
            }
            &:after{
                content: "";
                position:absolute;
                left: -9px;
                top: calc(50% - 6px);
                border-top: 6px solid transparent;
                border-bottom: 6px solid transparent;
                border-right: 10px solid #fff;
            }
            // &:hover {
            //     background-color: rgba(78, 132, 233, 1);
            //     &:after{
            //         border-right: 10px solid rgba(78, 132, 233, 1);
            //     }
            // }
        }
    }
}
.drawer-table-columns.detail-field {
    .hcp-typography-copy {
        display: none !important;
    }
}
.alarm-level {
    position: relative;
    top: -1px;
    display: inline-block;
    width: 6px;
    height: 6px;
    vertical-align: middle;
    border-radius: 50%;
    margin-right: 8px;
    &.level-emergency,
    &.level-1-emergency {
        background-color: #f5222d;
    }
    &.level-high,
    &.level-2-high {
        background-color: #ff9845;
    }
    &.level-mid,
    &.level-3-mid {
        background-color: #f6bd16;
    }
    &.level-junior,
    &.level-4-junior {
        background-color: #ff99c3;
    }
    &.level-info,
    &.level-5-info {
        background-color: #5b8ff9;
    }
}
.alarm-status-1 {
    color: red;
}
.alarm-status-2 {
    color: green;
}
.alarm-status-3 {
    color: blue;
}
.assign-user-pane {
    width: 1280px !important;
}
